package wp.wf.com.myapplication.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import org.xutils.http.RequestParams;
import org.xutils.x;

/**
 * Created by KF on 2016/4/25.
 */
public abstract class BaseActivity extends AppCompatActivity {
    protected RequestParams params;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
        setParams();
    }

    abstract void setParams();
}
